from advanced_alchemy import service
from src.models.code_generator_model import Codegenerator
from src.crud.code_generator_repository import CodegeneratorRepo


class CodegeneratorService(
    service.SQLAlchemyAsyncRepositoryService[Codegenerator, CodegeneratorRepo]
):
    repository_type = CodegeneratorRepo
    count_with_window_function = True
